﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTNgonNgu.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTNgonNgu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
    <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-48-language.png" width="48px" height="48px" /></td>               
                <td><asp:Label ID="lbManagerNgonNgu" runat="server" Text="Quản lý ngôn ngữ " ></asp:Label></td>                
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
           <tr>
                <td valign="middle">
                    <div class="add-edit-del">                        
                            <asp:ImageButton ID="ImgMacDinh" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-default.png" width="32px" height="32px" 
                                class="imagboder" runat="server" onclick="ImgMacDinh_Click" />
                            <br />
                            <asp:Label ID="lbMacDinh" runat="server" Text="Mặc định"></asp:Label>
                        
                    </div>
                </td>

                 <td valign="middle">
                    <div class="add-edit-del">                      
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>                        
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
    <div style="padding:5px 0px 0px 0px" align="left">
        <div class="SanPham" >
            <a href="EHTNgonNgu.aspx">
                <asp:Label ID="lbIndex" runat="server" Text="Index"></asp:Label>
            </a>
        </div>        
        <div class="SanPham">
           <a href="EHTNgonNguAdmin.aspx">
             <asp:Label ID="lbAdmin" runat="server" Text="Admin"></asp:Label>
           </a>
        </div>         
    </div>
    <br />
 <asp:Literal ID="ltrErorr" runat="server"></asp:Literal>
 <div style="padding-top:15px;">
     <asp:Panel ID="plNgonNguVN" runat="server">
        <asp:Repeater ID="rpNgonNgu" runat="server" 
            onitemdatabound="rpNgonNgu_ItemDataBound" >           
        <HeaderTemplate>
            <table ID="table" border="0" cellpadding="0" cellspacing="0" >
                 <thead>
                    <tr>
                                     <th>
                                        
                                    </th>                        
                                                                       
                                    <th>
                                        <asp:Label ID="lbTenNgonNgu" runat="server" Text=" Tên ngôn ngữ"></asp:Label>                            
                                    </th>
                                    <th>
                                        <asp:Label ID="lbTangThai" runat="server" Text="Mặc định"></asp:Label>                             
                                    </th>                                                                                                                                                    
                    </tr>
                 </thead>
                 <tbody>            
        </HeaderTemplate>
        <ItemTemplate>
                 <tr>
                        <td>
                            <asp:CheckBox ID="ckMenu"  runat="server" />
                            <asp:Label ID="lbDelID" runat="server" Visible="false" Text='<%#Eval("NgonNguID")%>'></asp:Label>
                        </td>
                       
                        <td>
                           <%#Eval("TenNgonNgu")%>
                        </td>
                        <td>
                            <asp:Label ID="lbTrangThai" runat="server" Text='<%#Eval("TrangThai") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="ImgMacDinh"  Height="16" Width="16" runat="server" />
                        </td>                                             
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
             </table>
        </FooterTemplate>
    </asp:Repeater>
     </asp:Panel>
     <asp:Panel ID="plNgonNguOther" runat="server">
        <asp:Repeater ID="rpNgonNguOther" runat="server" 
            onitemdatabound="rpNgonNguOther_ItemDataBound" >           
        <HeaderTemplate>
            <table ID="table" border="0" cellpadding="0" cellspacing="0" >
                 <thead>
                    <tr>
                                     <th>
                                        
                                    </th>                        
                                                                       
                                    <th>
                                        <asp:Label ID="lbTenNgonNgu" runat="server" Text=" Language"></asp:Label>                            
                                    </th>
                                    <th>
                                        <asp:Label ID="lbTangThai" runat="server" Text="Default"></asp:Label>                             
                                    </th>                                                                                                                                                    
                    </tr>
                 </thead>
                 <tbody>            
        </HeaderTemplate>
        <ItemTemplate>
                 <tr>
                        <td>
                            <asp:CheckBox ID="ckMenu"  runat="server" />
                            <asp:Label ID="lbDelID" runat="server" Visible="false" Text='<%#Eval("NgonNguID")%>'></asp:Label>
                        </td>
                       
                        <td>
                           <%#Eval("TenNgonNgu")%>
                        </td>
                        <td>
                            <asp:Label ID="lbTrangThai" runat="server" Text='<%#Eval("TrangThai") %>' Visible="false"></asp:Label>
                            <asp:ImageButton ID="ImgMacDinh"  Height="16" Width="16" runat="server" />
                        </td>                                             
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
             </table>
        </FooterTemplate>
    </asp:Repeater>
     </asp:Panel>
    </div>
</asp:Content>
